#include<stdio.h>

int main(void)
{
	int l=0,r=0;
	char c;
	while ( (c=getchar())!='\n')
	{
		switch(c)
		{
			case '(':
				l++;
				break;
			case ')':
				r++;
			default:
				break;
		}
	}
	l=l-r;
	if(l>0)
		printf("Left\n");
	else if(l==0)
		printf("Yes\n");
	else
		printf("Right\n");
	return 0;
}
